package base.extend;

/**
 * @Description: jvm
 * @Author: hmm
 * @CreateDate: 2019/8/6$ 21:42$
 * @UpdateUser: hmm
 * @UpdateDate: 2019/8/6$ 21:42$
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
public class Demo {
    public int count(int x) {
        int y = 3;
        int z = x+y;
        return z;
    }

    public static void main(String[] args) {
        //Child child = new Child("2","1");
        A a = new A();
        B b = new B();
        C c = new C();
        D d = new D();
        System.out.println(a.get(a) + " - " + a.get(d) + " - " + a.get(b) + " - " + b.get(a) + " - " + b.get(c) + " - "
                + b.get(d));
    }
}
